package cn.cangfei.massage.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.util.Date;


@Data
@ToString
@TableName("massage_product")
public class MassageProduct {

    @TableId(value = "id", type = com.baomidou.mybatisplus.annotation.IdType.AUTO)
    private Long id;

    @TableField(value = "name")
    private String name;

    @TableField(value = "description")
    private String description;


    @TableField(value = "url")
    private String url;

    @TableField(value = "up")
    private String up;

    @TableField(value = "price")
    private String price;

    @TableField(value = "buycount")
    private Integer buycount;

    @TableField(value = "start")
    private String start;

    @TableField(value = "end")
    private String end;

    @TableField(value = "category_id")
    private Long categoryId;

    @TableField(value = "category_name")
    private String categoryName;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    @ApiModelProperty(value = "创建时间")
    @TableField(value = "gmt_create", fill = com.baomidou.mybatisplus.annotation.FieldFill.INSERT)
    private Date gmtCreate;

    /**
     * 更新时间
     *
     * @mbg.generated
     */
    @ApiModelProperty(value = "更新时间")
    @TableField(value = "gmt_modified", fill = com.baomidou.mybatisplus.annotation.FieldFill.INSERT_UPDATE)
    private Date gmtModified;
}


